package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.serkol.ams.bean.MyPage;
import com.serkol.ams.entity.Goods;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【goods】的数据库操作Service
* @createDate 2022-09-19 16:34:25
*/
public interface GoodsService extends IService<Goods> {

    MyPage<Map<String, Object>> findByList(int pageSize, int current);

    MyPage<Map<String, Object>> findByCloudPageList(int pageSize, int current);

    MyPage<Map<String, Object>> findByPageIntegralList(int pageSize, int current);

    Map<String, Object> findByMapId(long id);

    List<Map<String, Object>> findGoodsList(Long agentId);
    List<Map<String, Object>> findGoodsAiList(Long agentId);

    List<Map<String, Object>> homeGoodsChartStastic(int type);
}
